import { FormSchema } from '/@/components/Form';

export const emailSchemas: FormSchema[] = [
  {
    field: 'SMTP',
    component: 'Input',
    label: 'SMTP服务器地址:',
    required: true,
  },
  {
    field: 'port',
    required: true,
    component: 'Input',
    label: '端口:',
  },
  {
    field: 'SSL',
    component: 'Select',
    required: true,
    label: 'SSL安全连接:',
    componentProps: {
      options: [
        { label: '否', value: '0' },
        { label: '是', value: '1' },
      ],
    },
  },
  {
    field: 'user',
    required: true,
    component: 'Input',
    label: 'SMTP用户:',
  },
  {
    field: 'password',
    required: true,
    component: 'Input',
    label: 'SMTP密码:',
  },
];
